home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
mac
/
Code
/
Chapter Code.exe
/
Chapter08
/
translate.wrl
< prev
next >
Wrap
Text File
|
2000-06-26
|
559b
|
36 lines
#VRML V2.0 utf8
DEF mytrans Transform {
translation 0 0 0
children Shape {
appearance Appearance {
material Material {
diffuseColor 0 1 0
}
}
geometry IndexedFaceSet {
coord Coordinate {
point [ -1 1 1,
-1 -1 1,
1 1 1,
1 -1 1,
1 1 -1,
1 -1 -1,
-1 1 -1,
-1 -1 -1 ]
}
coordIndex [ 0, 1, 3, 2, -1, 4, 5, 7,
6, -1, 6, 7, 1, 0, -1, 2,
3, 5, 4, -1, 6, 0, 2, 4,
-1, 1, 7, 5, 3, -1 ]
} #end IndexedFaceSet
} #end of Shape
} #end of Transform